#include <bits/stdc++.h>
#include <iostream>
#include <cstring>
#include <algorithm>
#include <cmath>
#include <vector>
#include <queue>
#include <deque>

using namespace std;
const int N = 1e5 + 10;

inline int read()
{
    int t = 1,sum  = 0;
    char s = getchar();
    if (s == '-') t = -1;
    else sum = s - '0';
    s = getchar();
    while (s >= '0' && s <='9')
    {
        sum = sum * 10 + s - '0';
        s = getchar();
    }
    return sum * t;
}


int main()
{
    freopen("arena.in","r",stdin);
    freopen("arena.out","w",stdout);

    int n;cin >> n;

    cout << 5 << endl;
    cout << 19 << endl;
    cout << 7 << endl;
    cout << 1 << endl;

    return 0;
}
